From 438943a03f11d4d7361fca1662c5864fa67cf152 Mon Sep 17 00:00:00 2001 From: Debian Science Maintainers Date: Fri, 10 Jul 2020 06:46:36 +0100 Subject: [PATCH] Use local requirejs Author: Rebecca N. Palmer Forwarded: not-needed Gbp-Pq: Name sphinx_local_requirejs.patch --- docs/source/conf.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/source/conf.py b/docs/source/conf.py index 39069d9..9963102 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -63,6 +63,8 @@ else: # nbsphinx options nbsphinx_allow_errors = True +nbsphinx_requirejs_path="file:///usr/share/javascript/requirejs/require.min.js" +nbsphinx_requirejs_options={"crossorigin":"anonymous"} ipython_warning_is_error = False # sphinxcontrib-spelling options spelling_word_list_filename = ['spelling_wordlist.txt', 'names_wordlist.txt'] -- 2.30.2